#[test]
fn test() {
    println!("test");
    void_function(12);
    let result = return_function();
    println!("result: {}", result);
}

fn void_function(param: i32) {
    println!("param: {}", param);
}

fn return_function() -> i32 {
    // 有返回值的函数
    let result: i32 = 10;
    result
}


fn loop_function() -> ! {
    loop {

    }
}

#[test]
fn test_loop() {
    loop_function()
}